#!/usr/bin/env bash
bin/spark-submit \
--master  spark://nn.avcdata.com:7077  \
--packages org.apache.spark:spark-streaming-kafka_2.10:1.5.1,redis.clients:jedis:2.7.0,com.fasterxml.jackson.core:jackson-databind:2.3.3,org.apache.hbase:hbase-client:1.0.0,org.apache.hbase:hbase-common:1.0.0,org.apache.httpcomponents:httpclient:4.5.1,com.typesafe:config:1.3.0 \
--executor-memory 4g  \
--total-executor-cores 12 \
--executor-cores 4  \
--driver-memory 4g \
--deploy-mode cluster \
--supervise \
--class com.avcdata.spark.job.Executor \
avc-spark-starter_2.10-1.0.jar